<?php
echo $successinfo;
?>
<script>
window.setTimeout(function(){location.href="<?php echo $url?>";}, 2000);

</script>